<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
	<title>Class of course</title>
</h:head>
<ui:composition template="mainTemplate.xhtml">
	<ui:define name="header">
		<ui:include src="studentHeader.xhtml" />
	</ui:define>
	<ui:define name="main_content">
		<h:form id="form1">
			<p:breadCrumb>
				<p:menuitem value="Courses" url="studentMainPage.jsf" />
				<p:menuitem value="Course Classes" url="courseClassesPage.jsf" />
			</p:breadCrumb>
			<p:panel>
				<iframe width="560" height="315"
					src="#{studentMainController.selectedClass.videourl}"
					frameborder="0"></iframe>
			</p:panel>
			<p:panel>
				<p:commandButton value="Exercises"
					action="#{studentMainController.goExercises}" ajax="false" />
				<p:commandButton value="Text from class"
					action="#{studentMainController.goText}" ajax="false" />
			</p:panel>
		</h:form>
	</ui:define>
</ui:composition>
</html>